package com.itheima_7;

public class test_2 {
    public static void main(String[] args) {
        Outer.method().show();
    }
}
 class Outer {
    public static A method() {
        return new A();
    }
    //补齐代码

}

 class A implements Inter{
    public void show(){
        System.out.println("HelloWorld");
    }
}
interface Inter {
    void show();
}